'use strict';

const Service = require('egg').Service;

class AuthorizationService extends Service {
    async findCorpid(corpid) {
        const company = await this.app.mysql.query('select * from company where corpid = ?', corpid);
        return company;
    }
}

module.exports = AuthorizationService;
